﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Threading;

namespace SampleKeyValueDemo.DataLayer
{
    public class DogSource : IKeyValueDataStore<DataItemDog>
    {

        public DataItemDog Get(string key)
        {
            Thread.Sleep(1000);
            throw new Exception("no nooooo noooooooo");
            return new DataItemDog()
            {
                 Color = "Red",
                 Id = key,
                 Name = "Red Dog"
            };
        }

        public void Remove(string key)
        {
        }

        public void Set(string key, DataItemDog val)
        {

        }
    }
}